package com.dubito.dose.data.entity

import androidx.room.Entity
import androidx.room.PrimaryKey
import com.dubito.dose.utils.TimeOfDay
import java.util.Date

/**
 * author: LiLiang
 * createTime: 2022/9/5-13:22
 * remark:
 **/

@Entity
data class MedicationEntity(
    @PrimaryKey(autoGenerate = true)
    val id: Long = 0,
    val name: String,
    val dosage: Int,
    val recurrence: String,
    val endDate: Date,
    val timeOfDay: List<TimeOfDay>
)
